﻿@using System.Web.UI.WebControls
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8" />
    <title>@ViewBag.Title</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport' />
    <!-- bootstrap 3.0.2 -->
    <link href="@Url.Content("~/css/bootstrap.min.css")" rel="stylesheet" type="text/css" />
    <!-- font Awesome -->
    <link href="@Url.Content("~/css/font-awesome.min.css")" rel="stylesheet" type="text/css" />
    <!-- Ionicons -->
    <link href="@Url.Content("css/ionicons.min.css")" rel="stylesheet" type="text/css" />
    <!-- Theme style -->
    <link href="@Url.Content("css/Admin.css")" rel="stylesheet" type="text/css" />

    <link type="text/css" rel="stylesheet" href="@Url.Content("Css/ChatStyle.css")" />
    <link rel="stylesheet" href="@Url.Content("Css/JQueryUI/themes/base/jquery.ui.all.css")">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
          <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->

    <!--Reference the jQuery library. -->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
    <link type="text/css" rel="stylesheet" href="@Url.Content("Css/ChatStyle.css")" />
    <link rel="stylesheet" href=@Url.Content("/Css/JQueryUI/themes/base/jquery.ui.all.css")">

    <script src="@Url.Content("Scripts/json2.js")"></script>

    <script src="@Url.Content("/Scripts/ui/jquery.ui.core.js")"></script>
    <script src="@Url.Content("/Scripts/ui/jquery.ui.widget.js")"></script>
    <script src="@Url.Content("/Scripts/ui/jquery.ui.mouse.js")"></script>
    <script src="@Url.Content("/Scripts/ui/jquery.ui.draggable.js")"></script>
    <script src="@Url.Content("/Scripts/ui/jquery.ui.resizable.js")"></script>
    <script src="@Url.Content("//code.jquery.com/ui/1.11.1/jquery-ui.js")"></script>


    <!--Reference the SignalR library. -->
    <script src="@Url.Content("/Scripts/jquery.signalR-1.0.0.js")"></script>
    <script src="@Url.Content("~/signalr/hubs")"></script>
    <script src="@Url.Content("Scripts/Test.js")"></script>
    <script>


        $(function () {
            $('#title').click(function (e) {
                if (document.getElementById("divusers").style.display != "none")
                    $('#divusers').hide();
                else
                    $('#divusers').show();
            });

            setScreen(true);

            // Declare a proxy to reference the hub. 
            var chatHub = $.connection.chatHub;

            registerClientMethods(chatHub);


            // Start Hub
            $.connection.hub.start().done(function () {
                registerEvents(chatHub);
            });
        });

        function setScreen(isLogin) {

            if (!isLogin) {

                $("#divChat").hide();
                $("#divLogin").show();
            }
            else {

                $("#divChat").show();
                $("#divLogin").hide();
            }

        }

        function registerEvents(chatHub) {
            if ($('#userhd').val() == '') {
                $('#userhd').val('@ViewBag.Message.UserName');
                var name = $('#userhd').val();
                if (name.length > 0) {
                    chatHub.server.connect(name);
                }
                else {
                    alert("Please enter name");
                }
            }
        }

        function registerClientMethods(chatHub) {

            // Calls when user successfully logged in
            chatHub.client.onConnected = function (id, userName, allUsers, messages) {
                $('#hdId').val(id);
                $('#hdUserName').val(userName);
                $('#spanUser').html(userName);
                // Add All Users
                console.log(allUsers.length);
                for (i = 0; i < allUsers.length; i++) {
                    AddUser(chatHub, allUsers[i].ConnectionId, allUsers[i].UserName, allUsers[i].Role, allUsers[i].isConnect);
                }

                // Add Existing Messages
                for (i = 0; i < messages.length; i++) {

                    AddMessage(messages[i].UserName, messages[i].Message);
                }


            }

            // On New User Connected
            chatHub.client.onNewUserConnected = function (id, name) {
                //AddUser(chatHub, id, name);
                AddUser(chatHub, id, name, 'register', true);
                
            }


            // On User Disconnected
            chatHub.client.onUserDisconnected = function (id, userName) {

                $('#' + id).remove();

                var ctrId = 'private_' + id;
                $('#' + ctrId).remove();


                var disc = $('<div class="disconnect">"' + userName + '" logged off.</div>');

                $(disc).hide();
                $('#divusers').prepend(disc);
                $(disc).fadeIn(200).delay(2000).fadeOut(200);

            }

            chatHub.client.onUpdateStatuss = function(status, userName)
            {
                //$('.system_' + userName).remove();
                var code = "";
                if (!status) {
                    $('.system_' + userName).switchClass("onl", "off", 10, "easeInOutQuad");
                } else {
                    $('.system_' + userName).switchClass("off", "onl", 10, "easeInOutQuad");
                }
            }

            chatHub.client.messageReceived = function (userName, message) {

                AddMessage(userName, message);
            }


            chatHub.client.sendPrivateMessage = function (windowId, fromUserName, message) {
                var ctrId = 'private_' + windowId;


                if ($('#' + ctrId).length == 0) {

                    createPrivateChatWindow(chatHub, windowId, ctrId, fromUserName);

                }
                if (fromUserName == $("#hdUserName").val()) {
                    $('#' + ctrId).find('#divMessage').append('<div class="message"><span class="send">' + fromUserName + '</span>: ' + message + '</div>');
                } else {
                    $('#' + ctrId).find('#divMessage').append('<div class="message"><span class="recive">' + fromUserName + '</span>: ' + message + '</div>');
                }

                // set scrollbar
                var height = $('#' + ctrId).find('#divMessage')[0].scrollHeight;
                $('#' + ctrId).find('#divMessage').scrollTop(height);

            }

        }

        function AddUser(chatHub, id, name, role, status) {

            var userId = $('#hdId').val();
            var code = "";
            console.log(code);
            if (userId == id) {
                //code = $('<div class="loginUser"><div class="name">' + name + "</div><div class='dot onl'></div></div><div class='clear'></div>");
                //console.log(code);
            }
            else {
                if (role == 'system') {
                    //$(".system_" + name).remove();
                    if (!status) {
                        code = $('<a id="' + id + '" class="user" ><div class="name">' + name + '</div><div class="dot off system_' + name + '"></div></a><div class="clear"></div>');
                    } else {
                        code = $('<a id="' + id + '" class="user" ><div class="name">' + name + '</div><div class="dot onl system_' + name + '"></div></a><div class="clear"></div>');
                    }
                } else {
                    code = $('<a id="' + id + '" class="user" ><div class="name">' + name + '</div><div class="dot onl"></div></a><div class="clear"></div>');
                }

                $(code).click(function () {

                    var id = $(this).attr('id');

                    if (userId != id)
                        OpenPrivateChatWindow(chatHub, id, name);

                });
            }
            console.log(code);
            $("#divusers").append(code);

        }

        function AddMessage(userName, message) {
            $('#divChatWindow').append('<div class="message"><span class="userName">' + userName + '</span>: ' + message + '</div>');

            var height = $('#divChatWindow')[0].scrollHeight;
            $('#divChatWindow').scrollTop(height);
        }

        function OpenPrivateChatWindow(chatHub, id, userName) {

            var ctrId = 'private_' + id;

            if ($('#' + ctrId).length > 0) return;

            createPrivateChatWindow(chatHub, id, ctrId, userName);

        }
        function createPrivateChatWindow(chatHub, userId, ctrId, userName) {

            var div = '<div id="' + ctrId + '" class="ui-widget-content draggable" rel="0">' +
                       '<div class="header">' +
                          '<div  style="float:right;">' +
                              '<img id="imgDelete"  style="cursor:pointer;" src="/Images/delete.png"/>' +
                           '</div>' +

                           '<span class="selText" rel="0">' + userName + '</span>' +
                       '</div>' +
                       '<div id="divMessage" class="messageArea">' +

                       '</div>' +
                       '<div class="buttonBar">' +
                          '<input id="txtPrivateMessage" class="msgText" type="text"   />' +
                          '<input id="btnSendMessage" class="submitButton button" type="button" value="Send"   />' +
                       '</div>' +
                    '</div>';

            var $div = $(div);

            $div.find('#divMessage').click(function () {
                chatHub.server.setReadPrivateMessage(userId);
            });

            // DELETE BUTTON IMAGE
            $div.find('#imgDelete').click(function () {
                $('#' + ctrId).remove();
            });

            // Send Button event
            $div.find("#btnSendMessage").click(function () {

                $textBox = $div.find("#txtPrivateMessage");
                var msg = $textBox.val();
                if (msg.length > 0) {
                    chatHub.server.sendPrivateMessage(userId, msg);
                    $textBox.val('');
                }
            });

            // Text Box event
            $div.find("#txtPrivateMessage").keypress(function (e) {
                if (e.which == 13) {
                    $div.find("#btnSendMessage").click();
                }
            });

            AddDivToContainer($div);

        }

        function AddDivToContainer($div) {
            $('#divContainer').prepend($div);

            $div.draggable({

                handle: ".header",
                stop: function () {

                }
            });

            ////$div.resizable({
            ////    stop: function () {

            ////    }
            ////});
        }

        function hideChatBox(e) {
            if (document.getElementById("").style.display == "none") {

            }
        }
    </script>
</head>
<body class="skin-blue">
    <!-- header logo: style can be found in header.less -->
    <header class="header">
        <a href="../trang-chu.html" class="logo">
            <!-- Add the class icon to your logo image or logo icon to add the margining -->
            EReport
        </a>
        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top" role="navigation">
            <!-- Sidebar toggle button-->
            <a href="#" class="navbar-btn sidebar-toggle" data-toggle="offcanvas" role="button">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </a>
            <div class="navbar-right">
                <ul class="nav navbar-nav">
                    <!-- Messages: style can be found in dropdown.less-->
                    <li class="dropdown messages-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="fa fa-envelope"></i>
                            <span class="label label-success">@ViewBag.CountUser</span>
                        </a>
                        <ul class="dropdown-menu">
                            <li class="header">You have @ViewBag.CountUser messages</li>
                            <li>
                                <!-- inner menu: contains the actual data -->
                                <ul class="menu">
                                   @foreach (var aUserInfo in ViewBag.ListUserSend)
                                      {            
                                          <li>
                                                <!-- start message -->
                                                <a href="#">
                                                    <div class="pull-left">
                                                        <img src="@aUserInfo.Image_Link" class="img-circle" alt="User Image" />
                                                    </div>
                                                    <h4>@aUserInfo.UserName
                                                        <small><i class="fa fa-clock-o"></i>5 mins</small>
                                                    </h4>
                                                    <p>You are have some Message from <strong>@aUserInfo.UserName</strong></p>
                                                </a>
                                            </li>        
                                      }
                                </ul>
                            </li>
                            <li class="footer"><a href="#">See All Messages</a></li>
                        </ul>
                    </li>
                    <!-- Notifications: style can be found in dropdown.less -->
                    <li class="dropdown notifications-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="fa fa-warning"></i>
                            <span class="label label-warning">10</span>
                        </a>
                        <ul class="dropdown-menu">
                            <li class="header">You have 10 notifications</li>
                            <li>
                                <!-- inner menu: contains the actual data -->
                                <ul class="menu">
                                    <li>
                                        <a href="#">
                                            <i class="ion ion-ios7-people info"></i>5 new members joined today
                                        </a>
                                    </li>
                                    <li>
                                        <a href="#">
                                            <i class="fa fa-warning danger"></i>Very long description here that may not fit into the page and may cause design problems
                                        </a>
                                    </li>
                                    <li>
                                        <a href="#">
                                            <i class="fa fa-users warning"></i>5 new members joined
                                        </a>
                                    </li>

                                    <li>
                                        <a href="#">
                                            <i class="ion ion-ios7-cart success"></i>25 sales made
                                        </a>
                                    </li>
                                    <li>
                                        <a href="#">
                                            <i class="ion ion-ios7-person danger"></i>You changed your username
                                        </a>
                                    </li>
                                </ul>
                            </li>
                            <li class="footer"><a href="#">View all</a></li>
                        </ul>
                    </li>
                    <!-- Tasks: style can be found in dropdown.less -->
                    <li class="dropdown tasks-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="fa fa-tasks"></i>
                            <span class="label label-danger">9</span>
                        </a>
                        <ul class="dropdown-menu">
                            <li class="header">You have 9 tasks</li>
                            <li>
                                <!-- inner menu: contains the actual data -->
                                <ul class="menu">
                                    <li>
                                        <!-- Task item -->
                                        <a href="#">
                                            <h3>Design some buttons
                                                    <small class="pull-right">20%</small>
                                            </h3>
                                            <div class="progress xs">
                                                <div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                                                    <span class="sr-only">20% Complete</span>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <!-- end task item -->
                                    <li>
                                        <!-- Task item -->
                                        <a href="#">
                                            <h3>Create a nice theme
                                                    <small class="pull-right">40%</small>
                                            </h3>
                                            <div class="progress xs">
                                                <div class="progress-bar progress-bar-green" style="width: 40%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                                                    <span class="sr-only">40% Complete</span>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <!-- end task item -->
                                    <li>
                                        <!-- Task item -->
                                        <a href="#">
                                            <h3>Some task I need to do
                                                    <small class="pull-right">60%</small>
                                            </h3>
                                            <div class="progress xs">
                                                <div class="progress-bar progress-bar-red" style="width: 60%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                                                    <span class="sr-only">60% Complete</span>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <!-- end task item -->
                                    <li>
                                        <!-- Task item -->
                                        <a href="#">
                                            <h3>Make beautiful transitions
                                                    <small class="pull-right">80%</small>
                                            </h3>
                                            <div class="progress xs">
                                                <div class="progress-bar progress-bar-yellow" style="width: 80%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                                                    <span class="sr-only">80% Complete</span>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <!-- end task item -->
                                </ul>
                            </li>
                            <li class="footer">
                                <a href="#">View all tasks</a>
                            </li>
                        </ul>
                    </li>
                    <!-- User Account: style can be found in dropdown.less -->
                    <li class="dropdown user user-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="glyphicon glyphicon-user"></i>
                            <span>@ViewBag.Message.FullName<i class="caret"></i></span>
                        </a>
                        <ul class="dropdown-menu">
                            <!-- User image -->
                            <li class="user-header bg-light-blue">
                                <img src="../images/Account.png" class="img-circle" alt="User Image" />
                                <p>
                                    @ViewBag.Message.FullName
                                    <small>Sign In from @ViewBag.Message.DateJoin</small>
                                </p>
                            </li>
                            <!-- Menu Body -->
                            <li class="user-body">
                                <div class="col-xs-4 text-center">
                                    <a href="#">Followers</a>
                                </div>
                                <div class="col-xs-4 text-center">
                                    <a href="#">Sales</a>
                                </div>
                                <div class="col-xs-4 text-center">
                                    <a href="#">Friends</a>
                                </div>
                            </li>
                            <!-- Menu Footer-->
                            <li class="user-footer">
                                <div class="pull-left">
                                    <a href="#" class="btn btn-default btn-flat">Profile</a>
                                </div>
                                <div class="pull-right">
                                    <a href="#" class="btn btn-default btn-flat">Sign out</a>
                                </div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>
    </header>
    <div class="wrapper row-offcanvas row-offcanvas-left">
        <!-- Left side column. contains the logo and sidebar -->
        <aside class="left-side sidebar-offcanvas">
            <!-- sidebar: style can be found in sidebar.less -->
            <section class="sidebar">
                <!-- Sidebar user panel -->
                <div class="user-panel">
                    <div class="pull-left image">
                        <img src="../img/avatar3.png" class="img-circle" alt="User Image" />
                    </div>
                    <div class="pull-left info">
                        <p>Hello, @ViewBag.Message.FullName</p>

                        <a href="#"><i class="fa fa-circle text-success"></i>Online</a>
                    </div>
                </div>
                <!-- search form -->
                <form action="#" method="get" class="sidebar-form">
                    <div class="input-group">
                        <input type="text" name="q" class="form-control" placeholder="Search..." />
                        <span class="input-group-btn">
                            <button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
                        </span>
                    </div>
                </form>
                <!-- /.search form -->
                <!-- sidebar menu: : style can be found in sidebar.less -->
                <ul class="sidebar-menu">
                    <li>
                        <a href="#">
                            <i class="fa fa-dashboard"></i><span>Dashboard</span>
                        </a>
                    </li>
                    <li class="treeview">
                        <a href="#">
                            <i class="fa fa-bar-chart-o"></i>
                            <span>OCC Report</span>
                            <i class="fa fa-angle-left pull-right"></i>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="#"><i class="fa fa-angle-double-right"></i>Autoland Report by Aircraft Fleet</a></li>
                            <li><a href="#"><i class="fa fa-angle-double-right"></i>Detailed Auto-land Report</a></li>
                            <li><a href="#"><i class="fa fa-angle-double-right"></i>Autoland Summary Report</a></li>
                            <li><a href="#"><i class="fa fa-angle-double-right"></i>Detailed LVO -  Takeoff Report</a></li>
                            <li><a href="#"><i class="fa fa-angle-double-right"></i>Low Visibility Operations - Taxi Report by Aircraft Fleet</a></li>
                            <li><a href="#"><i class="fa fa-angle-double-right"></i>Detailed PBN Performing Report</a></li>
                            <li><a href="#"><i class="fa fa-angle-double-right"></i>PBN Summary Report</a></li>
                        </ul>
                    </li>
                    <li class="treeview">
                        <a href="#">
                            <i class="fa fa-laptop"></i>
                            <span>Báo cáo đoàn bay</span>
                            <i class="fa fa-angle-left pull-right"></i>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="UI/general.html"><i class="fa fa-angle-double-right"></i>Catian Report</a></li>
                            <li><a href="UI/icons.html"><i class="fa fa-angle-double-right"></i>Autoland</a></li>
                            <li><a href="UI/buttons.html"><i class="fa fa-angle-double-right"></i>Take of, landing</a></li>
                            <li><a href="UI/sliders.html"><i class="fa fa-angle-double-right"></i>Logbook</a></li>
                            <li><a href="UI/timeline.html"><i class="fa fa-angle-double-right"></i>Fuel Info</a></li>
                            <li><a href="UI/timeline.html"><i class="fa fa-angle-double-right"></i>Delay Report</a></li>
                        </ul>
                    </li>
                    <li class="treeview">
                        <a href="#">
                            <i class="fa fa-edit"></i><span>QSQ Report</span>
                            <i class="fa fa-angle-left pull-right"></i>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="forms/general.html"><i class="fa fa-angle-double-right"></i>Risk Distribution by Responsible Department</a></li>
                            <li><a href="forms/advanced.html"><i class="fa fa-angle-double-right"></i>Events by Phase of Filght</a></li>
                            <li><a href="forms/editors.html"><i class="fa fa-angle-double-right"></i>Event Categories</a></li>
                            <li><a href="forms/advanced.html"><i class="fa fa-angle-double-right"></i>Events by Aircraf Type</a></li>
                            <li><a href="forms/editors.html"><i class="fa fa-angle-double-right"></i>Risk Rating by A/c Type</a></li>
                            <li><a href="forms/editors.html"><i class="fa fa-angle-double-right"></i>Events By Location</a></li>
                        </ul>
                    </li>
                    <li class="treeview">
                        <a href="#">
                            <i class="fa fa-table"></i><span>Account</span>
                            <i class="fa fa-angle-left pull-right"></i>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="tables/simple.html"><i class="fa fa-angle-double-right"></i>Simple tables</a></li>
                            <li><a href="tables/data.html"><i class="fa fa-angle-double-right"></i>Data tables</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="calendar.html">
                            <i class="fa fa-calendar"></i><span>Calendar</span>
                            <small class="badge pull-right bg-red">3</small>
                        </a>
                    </li>
                    <li>
                        <a href="mailbox.html">
                            <i class="fa fa-envelope"></i><span>Mailbox</span>
                            <small class="badge pull-right bg-yellow">12</small>
                        </a>
                    </li>
                    <li class="treeview">
                        <a href="#">
                            <i class="fa fa-folder"></i><span>Examples</span>
                            <i class="fa fa-angle-left pull-right"></i>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="examples/invoice.html"><i class="fa fa-angle-double-right"></i>Invoice</a></li>
                            <li><a href="examples/login.html"><i class="fa fa-angle-double-right"></i>Login</a></li>
                            <li><a href="examples/register.html"><i class="fa fa-angle-double-right"></i>Register</a></li>
                            <li><a href="examples/lockscreen.html"><i class="fa fa-angle-double-right"></i>Lockscreen</a></li>
                            <li><a href="examples/404.html"><i class="fa fa-angle-double-right"></i>404 Error</a></li>
                            <li><a href="examples/500.html"><i class="fa fa-angle-double-right"></i>500 Error</a></li>
                            <li><a href="examples/blank.html"><i class="fa fa-angle-double-right"></i>Blank Page</a></li>
                        </ul>
                    </li>
                </ul>
            </section>
            <!-- /.sidebar -->
        </aside>
        <!-- Right side column. Contains the navbar and content of the page -->
        <aside class="right-side">
            <!-- Content Header (Page header) -->
            <section class="content-header">
                <h1>Widgets
                        <small>Preview page</small>
                </h1>
                <ol class="breadcrumb">
                    <li><a href="#"><i class="fa fa-dashboard"></i>Home</a></li>
                    <li class="active">Widgets</li>
                </ol>
            </section>

            <!-- Main content -->
            @RenderSection("featured", required: false)
            <section class="content">
                <div id="divContainer">
                    <div id="divLogin" class="login">
                        <div>
                            Your Name:<br />
                            <input id="txtNickName" type="text" class="textBox" />
                        </div>
                        <div>
                            Password:<br />
                            <input id="txtPassword" type="text" class="textBox" />
                        </div>
                        <div id="divButton">
                            <input id="btnStartChat" type="button" class="submitButton" value="Start Chat" />
                        </div>
                    </div>

                    <div id="divChat" class="chatRoom">
                        <div id="title" class="title">
                            Welcome to Chat Room [<span id='spanUser'></span>]
                        </div>
                        <div id="divusers" class="users">
                        </div>
                    </div>

                    <input id="hdId" type="hidden" value="@ViewBag.Message.UserName" />
                    <input id="hdUserName" type="hidden" />
                    <input id="userhd" type="hidden"/>
                </div>
                @RenderBody()
            </section>
        </aside>
    </div>

    <!-- Bootstrap -->
    <script src="@Url.Content("~/scripts/bootstrap.min.js")" type="text/javascript"></script>
    <!-- AdminLTE App -->
    <script src="@Url.Content("~/scripts/Admin/app.js")" type="text/javascript"></script>
    <!-- AdminLTE for demo purposes -->
    <script src="@Url.Content("~/scripts/Admin/demo.js")" type="text/javascript"></script>
</body>
</html>
